<template>
  <page-content ref="contentRef" :content-config="contentConfig" @export-click="handleExportClick">
    <template #status="scope">
      <el-tag :type="scope.row[scope.prop] == 1 ? 'success' : 'info'">
        {{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}
      </el-tag>
    </template>
  </page-content>
</template>
<script setup lang="ts">
import usePage from "@/hooks/usePage";
import contentConfig from "./config/content";

const {
  contentRef,
  handleExportClick
} = usePage();
</script>
<style scoped></style>